home *** CD-ROM | disk | FTP | other *** search
/ AI Game Programming Wisdom / AIGameProgrammingWisdom.iso / SourceCode / 06 General Architectures / 06 Rabin / global.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-12-10  |  751 b   |  29 lines

  1. /* Copyright (C) Steve Rabin, 2001. 
  2.  * All rights reserved worldwide.
  3.  *
  4.  * This software is provided "as is" without express or implied
  5.  * warranties. You may freely copy and compile this source into
  6.  * applications you distribute provided that the copyright text
  7.  * below is included in the resulting source code, for example:
  8.  * "Portions Copyright (C) Steve Rabin, 2001"
  9.  */
  10.  
  11. #ifndef __GLOBAL_H__
  12. #define __GLOBAL_H__
  13.  
  14.  
  15.  
  16. #define g_time Time::GetSingleton()
  17. #define g_factory Factory::GetSingleton()
  18. #define g_database Database::GetSingleton()
  19. #define g_msgroute MsgRoute::GetSingleton()
  20. #define g_debuglog DebugLog::GetSingleton()
  21.  
  22.  
  23. #define INVALID_OBJECT_ID 0
  24.  
  25. typedef unsigned int objectID;
  26.  
  27.  
  28.  
  29. #endif    // __GLOBAL_H__